POV-Ray : Newsgroups : povray.general : macro - without () : Re: macro - without () Server Time
5 Aug 2024 16:11:56 EDT (-0400)
  Re: macro - without ()  
From: Simon Adameit
Date: 2 Oct 2002 09:55:24
Message: <3d9afacc@news.povray.org>
"Rafal 'Raf256' Maj" wrote:
>
> > I dont see why one would want to use macros anyway in such a case.
>
> 50% shorten code ? in scene with many code as above it DO mater
>
#declare blah=
something{}

#macro blah()
#end

How is that 50% shortened code?
Using declare has also some advantages macros dont have.
Afaik it needs less memory to use #declare than to use a macro if you are
going to use the thing several times and not only once.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.